﻿namespace ZenSystemService.Api.Exceptions
{
    public static class WebApplicationExtensions
    {
        public static void UseCustomExceptionHandlers(this WebApplication app) 
        {
            app.UseMiddleware<ExceptionMiddleware>();
        }
    }
}
